import Vue from 'vue';
import VueX from 'vuex';
// import cloneDeep from 'lodash/cloneDeep'


Vue.use(VueX);

const store = new VueX.Store({
    state: {
        sideBar_show: true,
        // state:
    },
    mutations: {
        resetStore (state) {
            Object.keys(state).forEach((key) => {
                // state[key] = cloneDeep(window.SITE_CONFIG['storeState'][key])
            })
        }
    },
    getters: {

    }
});

export default store